package com.haier.iot.dubbo.controller;

import com.haier.iot.dubbo.service.StorageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Zhang Tianhui 2021/10/20
 * @version 1.0.0
 */
@RestController
public class StorageController {

    @Autowired
    private StorageService storageService;

    @GetMapping("/dubbo/provider/storage")
    public String getStorage() {
        return storageService.getStorage();
    }
}
